package com.alks.function.data.request.stockdept.pcfactorystockwork;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class MyOrdUpRequest {

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "订购单号")
    private String reqNo;

    @ApiModelProperty(value = "指令")
    private String purLot;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名字")
    private String vendorName;

    @ApiModelProperty(value = "请购量")
    private Float qty;

    @ApiModelProperty(value = "预加量")
    private Float overQty;

    @ApiModelProperty(value = "多购量")
    private Float minusQty;

    @DateTimeFormat
    @ApiModelProperty(value = "需求交期")
    private LocalDate vendorDate;

    @DateTimeFormat
    @ApiModelProperty(value = "回复交期")
    private LocalDate inDate;

    @ApiModelProperty(value = "订单备注")
    private String purMemo;

    @JsonIgnore
    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "请购备注")
    private String reqMemo;

    @ApiModelProperty(value = "订购日期")
    @DateTimeFormat
    private LocalDate purDate;

    //新增
    @ApiModelProperty(value = "订购数量")
    private Float purQty;

    @ApiModelProperty(value = "类别")
    private String purType;

    @ApiModelProperty(value = "指令")
    private String lotDetail;

    @DateTimeFormat
    private LocalDate deliveryDate;

    private String purFlag;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "规格")
    private String mtlSpec;

    @ApiModelProperty(value = "单位")
    private String mtlUnit;

}
